package limousine.struts.form;

import java.io.Serializable;
import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

public class ProfileForm extends ActionForm implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 4721415792203435675L;

    private FormFile myFile = null;

    public String id = "";
    public String userName = "";
    public String password = "";
    public String name = "";
    public String email = "";
    public String phone = "";
    public String gender = "";
    public String createDate = "";
    public String lastLogin = "";
    public String enable = "";
    public String roleId = "";
    public String status = "";
    public String createBy = "";

    public String previewImage = "";
    public String birthday = "";
    public String showBirthday = "";
    public String showEmail = "";
    public String facebook = "";
    public String twitter = "";

    public String date ="";
    public String month ="";
    public String year ="";
    ////////////
    private String roleName = "";

    public String getCreateBy() {
        return (createBy == null)? "":createBy.trim();
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    
    public String getDate() {
        return (date == null)? "":date.trim();
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getMonth() {
        return (month == null)? "":month.trim();
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getYear() {
        return (year == null)? "":year.trim();
    }

    public void setYear(String year) {
        this.year = year;
    }


    public FormFile getMyFile() {
        return myFile;
    }

    public void setMyFile(FormFile myFile) {
        this.myFile = myFile;
    }
    

    public String getBirthday() {
        return (birthday == null)? "":birthday.trim();
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getFacebook() {
        return (facebook == null)? "":facebook.trim();
    }

    public void setFacebook(String facebook) {
        this.facebook = facebook;
    }

    public String getPreviewImage() {
        return (previewImage == null)? "":previewImage.trim();
    }

    public void setPreviewImage(String previewImage) {
        this.previewImage = previewImage;
    }

    public String getShowBirthday() {
        return (showBirthday == null)? "":showBirthday.trim();
    }

    public void setShowBirthday(String showBirthday) {
        this.showBirthday = showBirthday;
    }

    public String getShowEmail() {
        return (showEmail == null)? "":showEmail.trim();
    }

    public void setShowEmail(String showEmail) {
        this.showEmail = showEmail;
    }

    public String getTwitter() {
        return (twitter == null)? "":twitter.trim();
    }

    public void setTwitter(String twitter) {
        this.twitter = twitter;
    }
    public String getStatus() {
        return (status == null) ? "" : status.trim();
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRoleName() {
        return (roleName == null) ? "" : roleName.trim();
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getCreateDate() {
        return (createDate == null) ? "" : createDate.trim();
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getEmail() {
        return (email == null) ? "" : email.trim();
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEnable() {
        return (enable == null) ? "" : enable.trim();
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getGender() {
        return (gender == null) ? "" : gender.trim();
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getId() {
        return (id == null) ? "" : id.trim();
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLastLogin() {
        return (lastLogin == null) ? "" : lastLogin.trim();
    }

    public void setLastLogin(String lastLogin) {
        this.lastLogin = lastLogin;
    }

    public String getName() {
        return (name == null) ? "" : name.trim();
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return (password == null) ? "" : password.trim();
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return (phone == null) ? "" : phone.trim();
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRoleId() {
        return (roleId == null) ? "" : roleId.trim();
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return (userName == null) ? "" : userName.trim();
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
